﻿using System;

namespace Teigha.Core
{
	public class OdDbLibraryInfo_Internal : OdDbLibraryInfo
	{
		public OdDbLibraryInfo_Internal(IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
		{
		}

		public override string getLibName()
		{
			string result = GlobalsPINVOKE.OdDbLibraryInfo_getLibName(OdDbLibraryInfo.getCPtr(this));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public override string getLibVersion()
		{
			string result = GlobalsPINVOKE.OdDbLibraryInfo_getLibVersion(OdDbLibraryInfo.getCPtr(this));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public override string getCompanyName()
		{
			string result = GlobalsPINVOKE.OdDbLibraryInfo_getCompanyName(OdDbLibraryInfo.getCPtr(this));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public override string getCopyright()
		{
			string result = GlobalsPINVOKE.OdDbLibraryInfo_getCopyright(OdDbLibraryInfo.getCPtr(this));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public override string getBuildComments()
		{
			string result = GlobalsPINVOKE.OdDbLibraryInfo_getBuildComments(OdDbLibraryInfo.getCPtr(this));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}
	}
}
